package com.lanou.service;

import com.lanou.bean.Account;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

/**
 * Created by lanouhn on 17/10/23.
 */
public interface AccountService {

    List<Account> selectAllAccount();

    int updateStatus(Integer account_id,Integer status,Date pause_date);


    int updateStatus1(Integer account_id,Integer status,Date close_date);

    int selectIdByidcard(String referrerid);

    int insertAccount(Account account);


     int updateAccount(Integer account_id,Date close_date);

     Account selectAccountById(Integer account_id);

     Account selectidcardById(Integer recommenderId);

     int updateAccountInfo(Account account);

    List<Account> selectAllAccountByCondition(Account account);

}
